package com.lxmes.business.mapper;

import java.util.List;
import com.lxmes.business.domain.CcInventoryRules;

/**
 * 盘点规则Mapper接口
 * 
 * @author lx
 * @date 2023-06-29
 */
public interface CcInventoryRulesMapper 
{
    /**
     * 查询盘点规则
     * 
     * @param id 盘点规则主键
     * @return 盘点规则
     */
    public CcInventoryRules selectCcInventoryRulesById(Long id);

    /**
     * 查询盘点规则列表
     * 
     * @param ccInventoryRules 盘点规则
     * @return 盘点规则集合
     */
    public List<CcInventoryRules> selectCcInventoryRulesList(CcInventoryRules ccInventoryRules);

    /**
     * 新增盘点规则
     * 
     * @param ccInventoryRules 盘点规则
     * @return 结果
     */
    public int insertCcInventoryRules(CcInventoryRules ccInventoryRules);

    /**
     * 修改盘点规则
     * 
     * @param ccInventoryRules 盘点规则
     * @return 结果
     */
    public int updateCcInventoryRules(CcInventoryRules ccInventoryRules);

    /**
     * 删除盘点规则
     * 
     * @param id 盘点规则主键
     * @return 结果
     */
    public int deleteCcInventoryRulesById(Long id);

    /**
     * 批量删除盘点规则
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCcInventoryRulesByIds(Long[] ids);
}
